package ForTest;

public class Test {
    public static void main(String[] args) {
        System.out.println("一、测试Student类：\n");
        Student student1 = new Student("张三", "20**01098322", 1, 0, 20, "阳光开朗...");
        Student student2 = new Student("李四", "20**01098323", -2, -1, 120, "此处待填...");
        Student student3 = new Student("Chris", "20**01098324", 3, 100, 20, "阳光开朗...");
        student1.cout_info();
        student2.cout_info();
        student3.cout_info();

        System.out.println("二、测试Draw类：\n");
        Draw tdraw = new Draw(6);
        tdraw.draw_triangle();
        tdraw.draw_rect(4);
        tdraw.draw_square();
        tdraw.draw_parallelogram(4);

        System.out.println("三、测试User类：\n");;
        User user1 = new User("二月", "123456", "example@outlook.com");
        User user2 = new User("华鸟风月", "I:9`>6&kE99@wc0:");
        user1.cout_info();
        user2.cout_info();

        System.out.println("四、测试Circle类：\n");
        Circle circle = new Circle(2);
        System.out.print("半径为");
        System.out.print(circle.get_r());
        System.out.print("的圆，其周长为");
        System.out.print(circle.get_C());
        System.out.print("，面积为");
        System.out.print(circle.get_S());
        System.out.print("。\n");
    }
}
